package com.hckjsec.law.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.hckjsec.common.annotation.Excel;
import com.hckjsec.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 公法小程序法制宣传对象 web_law_propaganda
 * 
 * @author cyt
 * @date 2021-11-11
 */
public class WebLawPropaganda extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 部门id */
    @Excel(name = "部门id")
    private Long deptId;

    /** 宣传类型 */
    @Excel(name = "宣传类型")
    private String propagandaType;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 标题图片 */
    @Excel(name = "标题图片")
    private String titleImg;

    /** 内容 */
    @Excel(name = "内容")
    private String content;

    /** 状态 */
    @Excel(name = "状态")
    private String state;

    /** 是否置顶 */
    @Excel(name = "是否置顶")
    private String istop;

    /** 发布者 */
    @Excel(name = "发布者")
    private String releaseUser;

    /** 转载 */
    @Excel(name = "转载")
    private String reprint;

    /** 排序 */
    @Excel(name = "排序")
    private Long sort;

    /** 操作人 */
    @Excel(name = "操作人")
    private Long operator;

    /** 提交时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "提交时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date operatortime;

    /** 文件类型 */
    private String pathType;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setPropagandaType(String propagandaType) 
    {
        this.propagandaType = propagandaType;
    }

    public String getPropagandaType() 
    {
        return propagandaType;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setTitleImg(String titleImg) 
    {
        this.titleImg = titleImg;
    }

    public String getTitleImg() 
    {
        return titleImg;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setState(String state) 
    {
        this.state = state;
    }

    public String getState() 
    {
        return state;
    }
    public void setIstop(String istop) 
    {
        this.istop = istop;
    }

    public String getIstop() 
    {
        return istop;
    }
    public void setReleaseUser(String releaseUser) 
    {
        this.releaseUser = releaseUser;
    }

    public String getReleaseUser() 
    {
        return releaseUser;
    }
    public void setReprint(String reprint) 
    {
        this.reprint = reprint;
    }

    public String getReprint() 
    {
        return reprint;
    }
    public void setSort(Long sort) 
    {
        this.sort = sort;
    }

    public Long getSort() 
    {
        return sort;
    }
    public void setOperator(Long operator) 
    {
        this.operator = operator;
    }

    public Long getOperator() 
    {
        return operator;
    }
    public void setOperatortime(Date operatortime) 
    {
        this.operatortime = operatortime;
    }

    public Date getOperatortime() 
    {
        return operatortime;
    }

    public String getPathType() {
        return pathType;
    }

    public void setPathType(String pathType) {
        this.pathType = pathType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("deptId", getDeptId())
            .append("propagandaType", getPropagandaType())
            .append("title", getTitle())
            .append("titleImg", getTitleImg())
            .append("content", getContent())
            .append("state", getState())
            .append("istop", getIstop())
            .append("releaseUser", getReleaseUser())
            .append("reprint", getReprint())
            .append("sort", getSort())
            .append("operator", getOperator())
            .append("operatortime", getOperatortime())
            .toString();
    }
}
